﻿using System;
using System.Windows.Forms;

namespace YJKLevelRelated
{
	internal class FocusAutoSelectTextBox : System.Windows.Forms.TextBox
	{
		protected override void OnGotFocus(EventArgs e)
		{
			base.OnGotFocus(e);
			base.SelectAll();
		}

		protected override void OnClick(EventArgs e)
		{
			base.OnClick(e);
			base.SelectAll();
		}
	}
}
